// import { MConfig } from "./mConfig"
import {MMain} from './mMain'
import {ControlCenter} from './newRoute/controlCenter'
import {DataAnalysisCenter} from './newRoute/dataAnalysisCenter'
import {DataReportCenter} from './newRoute/dataReportCenter'
import {SystemManage} from './newRoute/systemManage'
import {WarnCenter} from './newRoute/warnCenter'

let childrenRoute = []

// 控制中心
childrenRoute = childrenRoute.concat(ControlCenter)
// // 数据分析中心
// childrenRoute = childrenRoute.concat(DataAnalysisCenter)
// // 数据报表中心
// childrenRoute = childrenRoute.concat(DataReportCenter)
// // 预警告警中心
// childrenRoute = childrenRoute.concat(WarnCenter)
// // 系统管理
// childrenRoute = childrenRoute.concat(SystemManage)

// // 主菜单
// childrenRoute = childrenRoute.concat(MMain)

/**
 * 管理中心的路由
 */
export const ManagementCenter = [
    {
        path: '/mcIndex',
        name: 'mcIndex',
        component: (solve) => require(['@/view/managementCenter/mcIndex'], solve),
        children: childrenRoute
    }
]
